<style type="text/css">
        * html div#fl813691 {position: absolute;
        top:expression(eval(document.compatMode &&
        document.compatMode=='CSS1Compat') ?
        documentElement.scrollTop
        +(documentElement.clientHeight-this.clientHeight)
        : document.body.scrollTop
        +(document.body.clientHeight-this.clientHeight)); z-index:1000000}
        #fl813691{font: 12px Arial, Helvetica, sans-serif; color:#fff; position:fixed; _position: absolute; right:0; bottom:0; height:220px; }
        #eb951855{ width:200px; padding-right:7px; }
        #cob263512{height:220px; padding-left:7px;}
        #coh963846{color:#fff;display:block; height:20px; line-height:20px; font-size:11px; width:200px;}
        #coh963846 a{color:#fff;text-decoration:none;}
        #coc67178{float:right; padding:0; margin:0; list-style:none;  height:20px;}
        #coc67178 li{display:inline;}
        #coc67178 li a{background-image:url(images/button.gif); background-repeat:no-repeat; width:30px; height:0; padding-top:15px; overflow:hidden; float:left;}
        #coc67178 li a.close{background-position: 0 0;}
        #coc67178 li a.close:hover{background-position: 0 -15px;}
        #coc67178 li a.min{background-position: -30px 0;}
        #coc67178 li a.min:hover{background-position: -30px -15px;}
        #coc67178 li a.max{background-position: -60px 0;}
        #coc67178 li a.max:hover{background-position: -60px -15px;}
        #co453569{
			display:block; 
			margin:0; 
			padding:0; 
			height:350px;
			
			
			}
    </style>
   <div style="height: 220px;" id="fl813691">
        <div id="eb951855">
            <div id="cob263512">
                <div id="coh963846">
                    <ul id="coc67178">
                        <li style="display: inline;" id="pf204652hide"><a class="min" href="javascript:pf204652clickhide();" title="">
                            Ẩn</a></li>
                        <li id="pf204652show" style="display: none;"><a class="max" href="javascript:pf204652clickshow();" title="">Xem </a></li>
                      <!--<li id="pf204652close"><a class="close" href="javascript:pf204652clickclose();" title="">
                            Đóng</a></li>  -->
                    </ul>
				
                </div>
              <div id="co453569">
                    <div><a href="#">
					
					<div id="login">  
				 
				
				<p id="vistdaily">	<?php include "vistdaily.php";?>		
			Số người truy cập: 			<?php echo visitcount();?> <br/> 
			Số người trực tuyến: <?php echo _whoonline();?><br/>	
		</p>
					<div class="l-top">

							<a href="#" onclick="showlogin()">Login</a>
							<a href="index.html">Site Map</a>
							<a href="#"><img src="<?php echo ROOT_PATH?>/images/mail.jpg" alt="Mail"/></a>
					</div>
                     <div id="showlogin">
						 <span style="height:30px;color:#00C;font-size:14px"><?php if($_SESSION["UserIDst"]!="") echo "<a href='/tnu/editinfo.php'>".$_SESSION["User"]."</a>"."  "."<a href='/tnu/logout.php'>đăng xuất</a>"; ?> </span>
                        
                     </div>
						<div id="search1">
						Tìm kiếm:
						<form name="frmSearch" action="<?php echo ROOT_PATH;?>/search" method="post">
							<input type="text" name="key" id="txtKeyWord" size="20"/>
							<input type="submit" id="btnSearch" value="Seach"/>
						</form>
						</div>
						<div class="l-bottom">
							<div class="a1">
							<a href="#"><?php echo ($lang==0)?"Liên kết website":"Website links";?></a>
							
							</div>
							<div class="a2">
							  <select onChange="window.open(this.value);">
                              <option>--Website liên kết--</option>
                             <?php
							  	
							  while($rowweb=mysql_fetch_array($kq1))
							 {
                              echo "<option value='".$rowweb["url"]."'>" .$rowweb["name"]."</option>";
							 }
							?>
                              </select>
							 
							</div>	

					
					
				</div>
			</div><!-- end of login -->
					
					</a></div>
            </div>
        </div>
    </div> 
    <script type="text/javascript">
	function  showlogin()
			{
				var content="";
				$("#login").css("height","180px");
				 content=" <form name='frmlogin' action='' method='post'> <div class='field'>User Name <span><input type='text'  value=''"+ "name='username'></span>  </div>"+
"<div class='field' style=''>Password <span><input type='password'  value='' name='password'></span></div><center><input type='submit' value='đăng nhập' name='login'/></center></form>";
				$("#showlogin").html(content);
				$("#showlogin").css("border-bottom","solid 1px #FFFFFF");
			}
        pf204652bottomLayer = document.getElementById('fl813691'); 
        var pf204652IntervalId = 0;
        var pf204652maxHeight = 230;//Chieu cao khung quang cao
        var pf204652minHeight = 20;
        var pf204652curHeight = 0;
        function pf204652show(){
            pf204652curHeight += 2;
            if(pf204652curHeight > pf204652maxHeight){
                clearInterval(pf204652IntervalId);
            }
            pf204652bottomLayer.style.height = pf204652curHeight+'px';
        }
        function pf204652hide(){
            pf204652curHeight -= 3;
            if(pf204652curHeight < pf204652minHeight){
                clearInterval(pf204652IntervalId);
            }
            pf204652bottomLayer.style.height=pf204652curHeight+'px';
        }
        pf204652IntervalId=setInterval('pf204652show()',5);
        function pf204652clickhide(){
            document.getElementById('pf204652hide').style.display='none';
            document.getElementById('pf204652show').style.display='inline';
            pf204652IntervalId=setInterval('pf204652hide()',5);
        }
        function pf204652clickshow(){
            document.getElementById('pf204652hide').style.display='inline';
            document.getElementById('pf204652show').style.display='none';
            pf204652IntervalId=setInterval('pf204652show()',5);
        }
        function pf204652clickclose(){
            document.body.style.marginBottom = '0px';
            pf204652bottomLayer.style.display = 'none';
        }
    </script>

	</div>
</div>
</form>

</center>

<script type="text/javascript">

</script>
